import axios from "axios";

const DevUrl = "http://localhost:8100";

const CurrUrl = DevUrl;

export function pullCaptcha(){
    return axios({
        url: CurrUrl + "/api/captcha/pullCaptcha",
        method:"get",
        data:""
    })
}

export function pushImage(data){
    return axios({
        url: CurrUrl + "/api/captcha/pushImage",
        method:"post",
        data:data
    })
}

export function checkCaptcha(data){
    return axios({
        url: CurrUrl + "/api/captcha/checkCaptcha",
        method:"post",
        data:data
    })
}